package com.java.crazy.part6.t9;

/**
 * 天气
 */
public enum SeasonEnum implements LogInterface {
    SPRING("春"), SUMMER("夏"), FALL("秋"), WINTER("冬");
    private String name;

    SeasonEnum(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    @Override
    public void info() {
        System.out.print(name);
    }

    @Override
    public String returnInfo() {
        return name;
    }
}
